<template>
  <div>
    <h1>{{ m1 }}{{ m2 }}</h1>
    <Header @bigboss="handler"></Header>
  </div>
</template>

<script>
import Header from "./components/Header.vue";
export default {
  name: "nihao",
  components: { Header },
  data() {
    return {
      m1: "",
      m2: "",
    };
  },
  methods: {
    handler(value1, value2) {
      this.m1 = value1;
      this.m2 = value2;
    },
  },
};
</script>

<style lang="less" scoped></style>
